package cn.com.homeyoda.aimate.aihealth.bean;

import java.util.List;

public class MyselfPlanBean {
    /**
     * msg : 操作成功
     * code : 200
     * data : {"planName":"三天测试计划","planStatus":"进行中","title":"标题1","detailMsg":"富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本","isJoin":"1","subjectList":[{"id":"1","name":"深蹲","icon":"https://oss.aliyun.com/sports/squat.jpg","holdTime":60,"videoUrl":"https://oss.aliyun.com/videos/squat.mp4"},{"id":"2","name":"俯卧撑","icon":"https://oss.aliyun.com/sports/pushup.jpg","holdTime":45,"videoUrl":"https://oss.aliyun.com/videos/pushup.mp4"},{"id":"3","name":"仰卧起坐","icon":"https://oss.aliyun.com/sports/situp.jpg","holdTime":90,"videoUrl":"https://oss.aliyun.com/videos/situp.mp4"}],"joinDayNum":"4"}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * planName : 三天测试计划
         * planStatus : 进行中
         * title : 标题1
         * detailMsg : 富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本富文本
         * isJoin : 1
         * subjectList : [{"id":"1","name":"深蹲","icon":"https://oss.aliyun.com/sports/squat.jpg","holdTime":60,"videoUrl":"https://oss.aliyun.com/videos/squat.mp4"},{"id":"2","name":"俯卧撑","icon":"https://oss.aliyun.com/sports/pushup.jpg","holdTime":45,"videoUrl":"https://oss.aliyun.com/videos/pushup.mp4"},{"id":"3","name":"仰卧起坐","icon":"https://oss.aliyun.com/sports/situp.jpg","holdTime":90,"videoUrl":"https://oss.aliyun.com/videos/situp.mp4"}]
         * joinDayNum : 4
         */

        private String planName;
        private String planStatus;
        private String title;
        private String detailMsg;
        private String isJoin;

        public String getPlanId() {
            return planId;
        }

        public void setPlanId(String planId) {
            this.planId = planId;
        }

        private String planId;

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        private String intro;
        private String joinDayNum;
        private List<SubjectListBean> subjectList;

        public String getPlanName() {
            return planName;
        }

        public void setPlanName(String planName) {
            this.planName = planName;
        }

        public String getPlanStatus() {
            return planStatus;
        }

        public void setPlanStatus(String planStatus) {
            this.planStatus = planStatus;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDetailMsg() {
            return detailMsg;
        }

        public void setDetailMsg(String detailMsg) {
            this.detailMsg = detailMsg;
        }

        public String getIsJoin() {
            return isJoin;
        }

        public void setIsJoin(String isJoin) {
            this.isJoin = isJoin;
        }

        public String getJoinDayNum() {
            return joinDayNum;
        }

        public void setJoinDayNum(String joinDayNum) {
            this.joinDayNum = joinDayNum;
        }

        public List<SubjectListBean> getSubjectList() {
            return subjectList;
        }

        public void setSubjectList(List<SubjectListBean> subjectList) {
            this.subjectList = subjectList;
        }

        public static class SubjectListBean {
            /**
             * id : 1
             * name : 深蹲
             * icon : https://oss.aliyun.com/sports/squat.jpg
             * holdTime : 60
             * videoUrl : https://oss.aliyun.com/videos/squat.mp4
             */

            private String id;
            private String name;
            private String icon;
            private int holdTime;
            private String videoUrl;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public int getHoldTime() {
                return holdTime;
            }

            public void setHoldTime(int holdTime) {
                this.holdTime = holdTime;
            }

            public String getVideoUrl() {
                return videoUrl;
            }

            public void setVideoUrl(String videoUrl) {
                this.videoUrl = videoUrl;
            }
        }
    }
}
